package com.mjh.zhujianju.service.set;

import java.util.List;

import com.livew.framework.base.service.BaseService;
import com.livew.framework.exception.XTBusinessException;
import com.livew.framework.page.PagedResult;
import com.mjh.zhujianju.model.set.BanersEO;
import com.mjh.zhujianju.vo.set.BanersVO;

/**
 * @author liuyang
 * @Description: 轮播图
 * @date 2018/8/8 23:58
 */
public interface BanersService extends BaseService<BanersEO> {
    /**
     * 根据位置查询轮播图
     * @return
     */
    List<BanersVO> queryBanersList(int site);
    
    /**
     * 保存
     * @param vo
     * @throws XTBusinessException
     */
	void saveInfo(BanersVO vo) throws XTBusinessException;

	
	/**
	 * 更新
	 * @param vo
	 * @throws XTBusinessException
	 */
	void updateInfo(BanersVO vo)throws XTBusinessException;


	/**
	 * 查询
	 * @param vo
	 * @throws XTBusinessException
	 */
	BanersVO getInfo(Long id) throws XTBusinessException;


	/**
	 * 查询
	 * @param vo
	 * @throws XTBusinessException
	 */
	PagedResult<BanersVO> getVOPage(BanersVO eo);
}
